projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49a752b
)
composite.c (composition_update_it): Fix previous change
author
Kenichi Handa
<handa@m17n.org>
Mon, 30 Aug 2010 01:58:52 +0000
(10:58 +0900)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 30 Aug 2010 01:58:52 +0000
(10:58 +0900)
src/composite.c
patch
|
blob
|
history
diff --git
a/src/composite.c
b/src/composite.c
index 96474f43fabe2120b45908ab8217b5253fa6c4ac..bc5a67ef6e21b2b8574b41ab9fd169f0e43f8b65 100644
(file)
--- a/
src/composite.c
+++ b/
src/composite.c
@@
-1440,7
+1440,7
@@
composition_update_it (struct composition_it *cmp_it, EMACS_INT charpos, EMACS_I
{
c = XINT (LGSTRING_CHAR (gstring, i));
cmp_it->nbytes += CHAR_BYTES (c);
- cmp_it->width +=
LGLYPH_WIDTH (glyph) > 0 ? CHAR_WIDTH (c) : 0
;
+ cmp_it->width +=
CHAR_WIDTH (c)
;
}
}
return c;